﻿using System;
using EasyStep.Attributes;using EasyStep.TestExecution.Data;using EasyStep.TestExecution.Interfaces;

using ArtOfTest.WebAii.Core;

namespace EasyStep.TestActions.Actions.Click
{
    [TestAction(typeof(Click), Name = "ByXpath", RequireData = false)]
    class ClickByXpath : ITestAction<Manager>
    {

        public void Execute(Manager browser, TestStepResult data, IExecuteDataContext context)
        {
            browser.ActiveBrowser.Actions.Click(browser.ActiveBrowser.Find.ByXPath(data.Locator));
            throw new NotImplementedException();
        }
    }
}